﻿@model System.Web.Mvc.HandleErrorInfo

@{
    Layout = null;
    ViewBag.Title = "错误";
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
</head>
<body style="background-color:#f3e8e8;">
    <div style="width:800px;height:600px;margin:100px auto auto auto;">
        <hgroup class="title">
            <h1 class="error">错误。</h1>
            <h2 class="error">处理你的请求时出错。</h2>
        </hgroup>
        @if (Model != null)
        {
            <p>
                @Model.Exception.GetType().Name<br />
                thrown in @Model.ControllerName @Model.ActionName
            </p>
            <p>Error Details:</p>
            <p>@Model.Exception.Message</p>
        }
    </div>
</body>
</html>